/* Nguồn http://greengeckodesign.com/menumatic*/

/* Based partially on Matthew Carroll's keyboard accessible flavor of Suckerfish 
 * Dropdowns by Patrick Griffiths and Dan Webb. 
 * http://carroll.org.uk/sandbox/suckerfish/bones2.html
*/

.nav strong
{
    font-family: "Kristen ITC";
    font-size: 15px;
}

/* all menu links */
.nav a{
	text-decoration:none;
	display:block;
	padding:10px 20px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	color: #000000;
}

/* Just sub menu links */
.nav li li a{
	text-align:left;
}

.nav li li li a:hover{
	text-decoration:underline;
	color: #FF9900;
}
/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
.nav a{
	margin:0;
	float:left;	
}

/* All menu links on hover or focus */
.nav a.menuDown:hover, .nav a.menuDown:focus{
	background-color:#333333;
	color:#F4F4F4;
}

/* sub menu links on hover or focus */
.nav li a.menuDown:hover,
.nav li a.menuDown:focus{
	background-color:#333333;
	color:#F4F4F4;
}

.nav, .nav ul, .nav ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
}

/* All submenu OLs and ULs */
.nav ol, .nav ul{	
	/*border around submenu goes here*/	 
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	background:#fff;
	border:1px solid #CCCCCC;
	left:0;
}

/* List items in main menu --[for non-javascript users this applies to submenus as well]  */
.nav li { 
	/*great place to use a background image as a divider*/
	display:block;
	list-style:none;
	position:relative;
	float:left;
}

/* main menu ul or ol elment */
.nav{
	display:block;
	position: absolute;
	list-style:none;
	margin:0 0 0 0;
	z-index:5;
	top:56px;
	text-align: center;
	display:block;
}

.nav li li{	float:none; }

.nav li li a{ /* Just submenu links*/	
	position:relative;
	float:none;
}

.nav li ul { /* second-level lists */
	position: absolute;
	width: 10.4em;
	margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin-top:2.1em;
}

.nav li#Resource ul { /* second-level lists */
	width: 13.8em;
}

.nav li#Resource{ /* second-level lists */
	width: 225px;
}

.nav li#liNewsAndEvent
{
    width: 170px;
    }

.nav li ul li ul{ /* third-level lists */
	position: absolute;
	width: 40em;
	margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin-top:2.2em;
	height: 26em;
	top: -7.3em;
}

/* third-and-above-level lists */
.nav li ul ul { margin: -1em 0 0 -1000em; }
.nav li:hover ul ul {	margin-left: -1000em; }
.container .nav #zo {
	padding: 10px;
	text-align: left;
}

 /* lists nested under hovered list items */
.nav li:hover ul{	margin-left: 0; }
.nav li li:hover ul {	margin-left: 12em; margin-top:-2.5em;}

/* extra positioning rules for limited noscript keyboard accessibility */
.nav li a.menuDown:focus + ul {  margin-left: 0; margin-top:2.2em; }
.nav li li a.menuDown:focus + ul { left:0; margin-left: 1010em; margin-top:-2.2em;}
.nav li li a.menuDown:focus {left:0;  margin-left:1000em; width:10em;  margin-top:0;}
.nav li li li a.menuDown:focus {left:0; margin-left: 1010em; width: 10em;  margin-top:-1em;}
.nav li:hover a.menuDown:focus{ margin-left: 0; }
.nav li li:hover a.menuDown:focus + ul { margin-left: 10em; }
#main #bar  .down {
	font-size: 9px;
}
#main #bar .move {
	font-size: 9px;
	margin-left: 60px;
}

/*bar>Tro giup*/
.nav li#barTroGiup ul { 
	position: absolute;
	width: 14.5em;
	margin-left: -1000.8em; 
	margin-top:2.1em;
}

.nav li#barTroGiup{ 
	width: 150px;
}

.nav li#barTroGiup:hover ul{ left:995em; }

#main #bar #danhmuc .nav #zo table {
	margin-left: 15px;
	margin-top: 10px;
}
